package com.ruoyi.yipaiju.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner对象 fo_banner
 * 
 * @author liuwp
 * @date 2023-03-04
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** banner名 */
    @Excel(name = "banner名")
    private String bannerName;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String bannerUrl;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String targeUrl;

    /** 触发动作 */
    @Excel(name = "触发动作", dictType = "biz_banner_action_mode")
    private String actionMode;

    /** 状态 */
    @Excel(name = "状态", dictType = "sys_normal_disable")
    private Integer status;

    /** banner标题 */
    @Excel(name = "banner标题")
    private String bannerTitle;

    /** ext1 */
    @Excel(name = "ext1")
    private String ext1;

    /** ext2 */
    @Excel(name = "ext2")
    private String ext2;

    /** ext3 */
    @Excel(name = "ext3")
    private String ext3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerName(String bannerName) 
    {
        this.bannerName = bannerName;
    }

    public String getBannerName() 
    {
        return bannerName;
    }
    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }
    public void setTargeUrl(String targeUrl) 
    {
        this.targeUrl = targeUrl;
    }

    public String getTargeUrl() 
    {
        return targeUrl;
    }
    public void setActionMode(String actionMode)
    {
        this.actionMode = actionMode;
    }

    public String getActionMode()
    {
        return actionMode;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerName", getBannerName())
            .append("bannerUrl", getBannerUrl())
            .append("targeUrl", getTargeUrl())
            .append("actionMode", getActionMode())
            .append("status", getStatus())
            .append("bannerTitle", getBannerTitle())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
